﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wpf_print.data
{
    public class AllData {
        public ContainerPage? containerPage { get; set; }
        public bool? isContainerData { get; set; }
        public MoreData? moreData { get; set; }
        public DetailPage detailPage { get; set; }
    }
    public class ContainerPage {
        public class ContainerItem
        {
            public string? column { get; set; }
            public string? css { get; set; }
            public string? del { get; set; }
            public string? key { get; set; }
            public string? label { get; set; }
            public string? name { get; set; }
            public string? type { get; set; }
            public string? value { get; set; }

        }

        public class ContainerDetailItem
        {
            public string? container_type { get; set; }
            public string? customer_receive { get; set; }
            public string? customer_reject { get; set; }
            public string? detail { get; set; }
            public string? shuh_pull { get; set; }
            public string? shuh_push { get; set; }

        }
        public class TopItem
        {
            public string? column { get; set; }
            public string? css { get; set; }
            public string? del { get; set; }
            public string? key { get; set; }
            public string? label { get; set; }
            public string? name { get; set; }
            public string? type { get; set; }
            public string? value { get; set; }

        }
        public class FootItem
        {
            public string? column { get; set; }
            public string? css { get; set; }
            public string? del { get; set; }
            public string? key { get; set; }
            public string? label { get; set; }
            public string? name { get; set; }
            public string? type { get; set; }
            public string? value { get; set; }

        }
        public List<ContainerItem>? container { get; set; }
        public List<ContainerDetailItem>? containerDetail { get; set; }
        public List<FootItem>? foot { get; set; }
        public List<TopItem>? top { get; set; }
    }
    public class MoreData
    {
        public class AckInfoItem
        {
            public string? ackId { get; set; }

        }
        public class CssBasictem
        {
            public class CommonDataItem
            {
                public string? codeHeight { get; set; }
                public string? codeWidth { get; set; }
                public string? exSpaceHeight { get; set; }
                public string? pageHeight { get; set; }
                public string? pageWidth { get; set; }

            }
            public class defaultColumnStyleItem
            {
                public string? borderBottom { get; set; }
                public string? borderLeft { get; set; }
                public string? borderRight { get; set; }
                public string? borderTop { get; set; }
                public string? color { get; set; }
                public string? fontSize { get; set; }
                public string? fontWeight { get; set; }
                public string? marginBottom { get; set; }
                public string? marginLeft { get; set; }
                public string? marginRight { get; set; }
                public string? marginTop { get; set; }
                public string? paddingBottom { get; set; }
                public string? paddingLeft { get; set; }
                public string? paddingRight { get; set; }
                public string? paddingTop { get; set; }

            }
            public CommonDataItem? commonData { get; set; }
            public defaultColumnStyleItem? defaultColumnStyle { get; set; }

        }
        public AckInfoItem? ackInfo { get; set; }
        public List<string>? consignmentOrderIds { get; set; }
        public string? containerPlace { get; set; }
        public CssBasictem? cssBasic { get; set; }
        public string? regionCode { get; set; }
        public string? regionName { get; set; }
    }
    public class DetailPage
    {
        public class Item
        {
            public string? column { get; set; }
            public string? css { get; set; }
            public string? del { get; set; }
            public string? key { get; set; }
            public string? label { get; set; }
            public string? name { get; set; }
            public string? type { get; set; }
            public string? value { get; set; }
            public JObject? cssStyle { get; set; }

        }
        public class PagesItem
        {
            public class TotalMapItem
            {
                public int? amount { get; set; }
                public int? orderQuantity { get; set; }
                public int? packedQuantity { get; set; }

            }
            public class DynColWidthMapItem
            {
                public int? sku_name { get; set; }

            }
            public class PagesItemItem
            {
                public class PagesItemItemItems
                {
                    public string? amount { get; set; }
                    public string? consignmentOrderId { get; set; }
                    public string? cooperateBusinessType { get; set; }
                    public string? copySkuId { get; set; }
                    public string? customerOrderId { get; set; }
                    public string? customerSkuId { get; set; }
                    public string? customerSkuName { get; set; }
                    public string? deliveryTotalPrice { get; set; }
                    public string? franchisePrice { get; set; }
                    public int? id { get; set; }
                    public string? isImport { get; set; }
                    public string? itemId { get; set; }
                    public string? orderId { get; set; }
                    public string? orderQuantity { get; set; }
                    public string? packedQuantity { get; set; }
                    public string? price { get; set; }
                    public string? productDate { get; set; }
                    public string? qualityPeriod { get; set; }
                    public string? regionCode { get; set; }
                    public string? regionName { get; set; }
                    public string? reservoirName { get; set; }
                    public string? salePrice { get; set; }
                    public string? saleTax { get; set; }
                    public string? signQuantity { get; set; }
                    public string? skuId { get; set; }
                    public string? skuName { get; set; }
                    public string? status { get; set; }
                    public string? totalPrice { get; set; }
                    public string? unitName { get; set; }

                }
                public int? pageNum { get; set; }
                public string? printEdConfigureMap { get; set; }
                public List<PagesItemItemItems>? items { get; set; }

            }
            public string? ackId { get; set; }
            public string? regionCode { get; set; }
            public string? regionName { get; set; }
            public TotalMapItem? totalMap { get; set; }
            public DynColWidthMapItem? dynColWidthMap { get; set; }
            public List<PagesItemItem> pages { get; set; }

        }
        public List<Item>? foot { get; set; }
        public List<Item>? top { get; set; }
        public List<Item>? paperDetail { get; set; }
        public List<Item> table { get; set; }
        public PagesItem pages { get; set; }
    }
}
